package com.zhou.scaffolding.log.event;

import org.springframework.context.ApplicationEvent;

public class LogEvent extends ApplicationEvent {
    private String method;
    private String url;
    private Object result;
    public LogEvent(Object source) {
        super(source);
    }

    public LogEvent(Object source, String method, String url, Object result) {
        super(source);
        this.method = method;
        this.url = url;
        this.result = result;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public Object getResult() {
        return result;
    }

    public void setResult(Object result) {
        this.result = result;
    }
}
